Structures (Cont.)
Pascal         C/C++
EXAMPLE: Suppose the types employee and student have
been previously declared:
var
   borrower: record
   case boolean of
     false: (EBorr: emploee);
     true: (SBorr: student)
   end;
union
{   emploee EBorr;
     student SBorr;
} borrower;